﻿@model CREAPA.Dominio.Dossie
@using CREAPA.UL.Web.HtmlHelpers

@{
    ViewBag.Title = "Excluir Documento";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h2>Excluir Documento do Dossie</h2>

<h3>Você realmente deseja excluir esse Documento?</h3>
<fieldset>
    <legend><b>Documento</b></legend>
    <p>
    <div class="display-label">
     <b> @Html.DisplayNameFor(model => model.TipoDocumento)</b>
    </div>
    <div class="display-field">
        @Html.DisableableDropDownList("TipoDocumento",null,null, new { id = "cbGender1", style = "width:80px;"})
    </div></p>
    <p>
    <div class="display-label">
      <b> @Html.DisplayNameFor(model => model.PessoaInteressado)</b>
    </div>
    <div class="display-field">
          @Html.DisplayFor(model => model.PessoaInteressado)
    </div></p>
    <p>
    <div class="display-label">
      <b> @Html.DisplayNameFor(model => model.Descricao)</b>
    </div>
    <div class="display-field">
       @Html.DisplayFor(model => model.Descricao)
    </div></p>
    <p>
    <div class="display-label">
      <b> @Html.DisplayNameFor(model => model.DataDocumento)</b>
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DataDocumento)
    </div></p>
    <p>
    <div class="display-label">
      <b> @Html.DisplayNameFor(model => model.PessoaCadastrou)</b>
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PessoaCadastrou)
    </div></p>
    <p>
    <div class="display-label">
      <b> @Html.DisplayNameFor(model => model.DataCadastro)</b>
    </div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DataCadastro)
    </div></p>
    @using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
        <p>
         <input type="submit" value="Excluir"  class="button" />
         @Html.ActionLink("Voltar", "Index",null, new {login = ViewBag.Login},new { @class = "button2"})
      </p>
}
</fieldset>

<script type="text/javascript">
    $("#cb_Toggle").ready(function () {
        var $Gender = $("#cbGender1");

        $Gender.disableDropDownList();
    });
</script>   

